body {
    /*设置背景图片*/
    background-image: url("../images/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /*关键*/
    background-position: center;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    min-width: 1600px;
    z-index: -10;
    zoom: 1;
}

h2 {
    font-size: 20px;
    font-weight: 400;
    font-weight: bold;
    font-family: STXihei, "arial", "Microsoft YaHei", "微软雅黑";
    color: #293a39;
}

.contain {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;

    background:  url("../images/bg.jpg") fixed no-repeat;
    background-size: cover;
}

.log {
    width: 200px;
    height: 250px;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-around;
    padding: 40px;
    margin-top: 140px;
    margin-right: 60px;
    position: relative;
    background: inherit;
    /* overflow很重要  如果没有它的话  毛玻璃特效 特别模糊  虽然不知道为啥 */
    overflow: hidden;
    border-radius: 16px;
    z-index: 100;
}
.backgr{
    display: flex;
}

.log::before {
    content: "";
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    display: block;
    position: absolute;
    left: -10px;
    top: -10px;
    background: #b7c4c4;
    box-shadow: inset 0 0 200px rgba(255, 255, 255, 0.25);
    filter: blur(6px);
    overflow: hidden;
    border-radius: 14px;
    z-index: -1;
}

.log input,
#btn {
    height: 32px;
    margin: 6px 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    border: none;
}

#btn {
    margin-top: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.7s;
}

#btn:hover {
    background-color: rgb(144, 160, 167);
}

#btn::before, #btn::after {
    content: "";
    height: 90px;
    width: 100px;
    display: block;
    background-color: mediumaquamarine;
    opacity: 0.5;
    filter: blur(30px);
    position: absolute;
    overflow: hidden;
    left: 0;
    top: 0;
    transform: skewX(-20deg);
    transform: translateX(-100px);
}

#btn::after {
    filter: blur(6px);
    width: 40px;
    left: 60px;
    opacity: 0;
    background-color: rgba(64, 224, 208, 0.307);
}

#btn:hover::before {
    transform: translateX(320px);
    transition: 1s;
    opacity: 1;

}

#btn:hover::after {
    transform: translateX(320px);
    transition: 1s;
    opacity: 1;
}
